home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / ip / manage / snmp / kip / doc / install < prev    next >
Encoding:
Text File  |  1989-01-17  |  26.5 KB  |  598 lines

  1. KIP INSTALLATION INSTRUCTIONS                (6/88)
  2.  
  3. To install and run the KIP gateway code involves the following steps:
  4.  
  5.     Transfer the gateway source/binary files to a (UNIX) host.
  6.  
  7.     Compile gateway programs.
  8.  
  9.     Setup admin daemon and database.
  10.  
  11.     Edit /etc/atalk.local.
  12.  
  13.     Transfer gw.srec and prompt.config from UNIX to a Mac disk.
  14.  
  15.     Run Kinetics 'FastPath Manager' program to download gateway.
  16.  
  17.     Test gateway with 'ping' and 'ddt', 'chooser'.
  18.  
  19.     Install CAP with mods.
  20.  
  21.     Obtain and try out MacIP programs.
  22.  
  23.  
  24. TRANSFER FILES
  25.  
  26. There are a number of files needed to use this gateway.  You can either
  27. FTP these files if you have internet access, or (I believe) Kinetics
  28. Users Group will have SONY disks available containing the same
  29. information for a nominal copy fee.  The following files are in the
  30. <info-mac> directory on sumex-aim.stanford.edu.  The file names are
  31. prefixed with 'at-' in the directory to set them apart from other
  32. info-mac files.  Use login name 'anonymous' with FTP.
  33.  
  34. kip.shar    gateway and daemon source
  35. gw.srec        latest gateway 'binary' in S-record hex format
  36. ddt.shar    source for the network debugger.
  37.  
  38. To obtain information about the Columbia University AppleTalk Package
  39. for Unix, send mail to capinfo@cunixc.columbia.edu (internet),
  40. columbia!cunixc!capinfo (uucp), or capinfo@cunixc.BITNET for more
  41. information.
  42.  
  43. (A copy of CAP is also kept on <info-mac> at sumex under the at-cap*
  44. prefix).
  45.  
  46.  
  47. You don't have to compile any Macintosh or Kinetics source code unless
  48. you wish to.  The file 'gw.srec' contains the latest gateway binary.
  49. If you DO want to compile you will need a 68000 C compiler that runs
  50. under UNIX.  We use our 4.X BSD VAX with the compiler distributed with
  51. SUMacC.  But you can also use 68000 UNIX boxes, for example Kinetics
  52. uses a Pyramid box.  For VAX people you can FTP these files from
  53. sumex-aim.stanford.edu, login anonymous, directory <info-mac>.
  54.  
  55. sumacc.tar    68000 C compiler plus Mac libraries;  2.5 megabytes.
  56.         SUMacC hasnt changed since Nov 84, so this is not a 'new'
  57.         version.  (Also available from safe.stanford.edu).
  58. sumacc-rmaker.shar    (dated Aug 85)
  59. sumacc-rmaker-v2.shar    (dated Aug 86)
  60.         Later versions of the Mac resource compiler;  I believe
  61.         the efs.tar used the first of these but they should be
  62.         upward compatible.
  63.  
  64.  
  65. COMPILE GATEWAY PROGRAMS
  66.  
  67. Dearchive at-kip.shar into UNIX directory 'kip'.  The directory
  68. 'kip/etc' contains the following files:
  69.  
  70.     atalk.local    sample host number database, copied to /etc
  71.     atalkad.c    appletalk admin daemon
  72.     atalkrd.c    appletalk rebroadcast daemon (not usually needed)
  73.     atalkatab    sample database for atalkad, copied to /etc
  74.     b.out.h        68K object file format, used by dl68.c
  75.     dl68.c        binary to hex conversion utility used by SUMacC;
  76.             or use native utility, such as 'hex'.
  77.     Makefile    makefile for C progs in this dir
  78.     prompt.config    sample config file used by Kinetics 'prompt' program 
  79.  
  80. The directory 'kip/doc' contains documentation files:
  81.  
  82.     install        installation document
  83.     broadcast    document explaining broadcast terminology
  84.     ip.at        specification for IP on AppleTalk
  85.     rev1086        documents revisions of the gateway
  86.     rev0287
  87.     rev0987
  88.     rev0188
  89.     rev0688
  90.     stackdump    how to interpret Kinetics stack dumps
  91.  
  92.  
  93. Typing 'make' in the 'kip/etc' directory will result in atalkad and other
  94. binaries being produced.   
  95.  
  96. The 'at-gw.srec' file that you obtained in the 'TRANSFER FILES' step
  97. can be directly downloaded to the gateway, so you can skip the gateway
  98. compile steps in the remainder of this section if you wish.  (If so,
  99. skip to the next section 'APPLETALK FORMS').
  100.  
  101. The makefile in the top level 'kip' directory is setup for a VAX.
  102. Another file, makefile.68 can be used if you have a native 68000 UNIX;
  103. unfortunately your native assembler may not understand the MIT-style
  104. opcodes used.  If so, find a VAX(!)  If your machine doesnt support
  105. 'flexnames', edit the line in fp/kfps.h as shown:
  106.  
  107.     14c14
  108.     < define(`flexnames')
  109.     ---
  110.     > |# define(`flexnames')
  111.  
  112. If your UNIX prepends an '_' underscore in front of all C externals,
  113. remove the '-Dnoprepend' from the makefile.  Now you should be able say
  114. 'make' and end up with a gw.srec file.  Gw.sym is also produced from
  115. each load and contains the complete object file plus symbol table.
  116.  
  117. The network debugger ddt was developed on a VAX and assumes the b.out.h
  118. object file header format produced by the MIT C compiler.  This should
  119. be ifdefed for native compilers as well.  If you are going to
  120. use ddt, fetch and dearchive it.  Typing 'make' in that directory
  121. should result in a 'ddt' executable that can be copied to a directory
  122. such as /usr/local/bin.
  123.  
  124.  
  125. APPLETALK FORMS
  126.  
  127. Before we can discuss setting up the administrator daemon and database
  128. (in the next section), we need to explain the different forms in which
  129. appletalk exists.  'Appletalk' is the word used by Apple to describe
  130. the protocol family that they designed.  This protocol family contains
  131. protocols that implement various services such as name binding
  132. (location), file access, and laserwriter printing.
  133.  
  134. The Appletalk protocol family can be used on a variety of communication
  135. media.  For each of these media, appletalk takes on a unique 'form'
  136. (or encapsulation) specific to that media.  Thus we can label three
  137. different appletalk-forms:
  138.  
  139.   'Localtalk' is Appletalk on the original Apple-designed daisy-chain
  140.   cabling system (shielded, twisted pair).  Localtalk would also refer to
  141.   the alternate cable scheme developed by Farallon (PhoneNet) that uses
  142.   standard phone company cables and connectors.
  143.  
  144.   'Ethertalk' is Appletalk running on ethernet hardware.  There are
  145.   now cards for the Mac II (from Apple/3com and Kinetics) that speak
  146.   ethertalk.  Additionally some commercial mainframe products such
  147.   as TOPS for UNIX and Alisatalk for VMS use ethertalk.
  148.  
  149.   'Appletalk-in-IP' is Appletalk encapsulated inside IP datagrams,
  150.   which in turn are carried on a media such as ethernet or fiber
  151.   optics.  The advantage of putting appletalk inside of IP is that
  152.   preexisting campus gateways and hosts dont have to be modified (at
  153.   low levels) to understand appletalk.  There is much more equipment
  154.   available on the market that understands the IP protocol family
  155.   versus the relatively new Appletalk family.  For 4.X BSD derived UNIX
  156.   machines, the CAP (Columbia Univ. Appletalk Package) software
  157.   provides file access and print spooling capabilities.
  158.  
  159. The original KIP gateway software supported the localtalk and
  160. appletalk-in-IP forms of appletalk.  The 0188 release of KIP added the
  161. support of ethertalk.  Thus a single ethernet cable can support both
  162. the ethertalk and the appletalk-in-IP encapsulations.  This is done
  163. by assigning such ether cables TWO appletalk network numbers.  Traffic
  164. directed to one of the net numbers goes out in ethertalk form, traffic
  165. to the other net number goes out as appletalk-in-IP.  At a recent
  166. Apple sponsored IP conference, this mechanism was dubbed 'doubletalk'(!)
  167.  
  168. You might encounter this confusion in terminology:  before 1987 Apple
  169. Computer refered to the protocol family AND the physical cabling /
  170. signaling system as 'appletalk'.  Just be aware that 'appletalk' NOW
  171. means the protocol family and not just a particular physical
  172. implementation such as localtalk or ethertalk.
  173.  
  174.  
  175. SETUP ATALKAD AND DATABASE
  176.  
  177. The appletalk administrator daemon, /etc/atalkad, runs on only ONE of
  178. the UNIX hosts in your organization / department.  So this document
  179. section will only be used by your campus appletalk administrator.
  180.  
  181. Chdir to kip/etc, become su, and type 'make install' and 'make
  182. installonce'.  The first install copies the daemon binary to /etc.  The
  183. one-time only install copies atalkatab and atalk.local to /etc and
  184. starts off the log file in /usr/adm/atalkalog.
  185.  
  186. You now need to edit the files /etc/atalkatab and /etc/atalk.local to
  187. correspond to your local network configuration.  Print out and read
  188. over the comments in atalkatab to see the format of the data.
  189.  
  190. In this example file, we show a campus using a class B network number,
  191. 128.222.s.h, where 128.222 is the class B net, 's' is the IP subnet
  192. number of the ethernet cable, and 'h' is host number on that cable.
  193. Remember that that there are no dependencies on subnets in the KIP
  194. gateway code, so this example showing subnets could just as easily
  195. have used separate class C numbers for the ethernet cables.
  196.  
  197. In the example note that the 16 bit (two byte) appletalk net number
  198. (anet) can be written in 'dot notation', e.g. '55.13'.  This means the
  199. upper byte of the anet is 55 and the lower byte is 13;  these values
  200. are in decimal, so the maximum anet number would be 255.255.
  201.  
  202. For appletalk-in-IP ethernet cables there is a relation between the
  203. IP address (combined net/host number) of a host on that cable, and the
  204. appletalk net/node numbers of the same host.  The net number parts are
  205. totally different, but the low byte of the IP address (host number)
  206. corresponds exactly to the appletalk node number.  The appletalk net
  207. and IP net numbers are only related by a line in the atalkatab file,
  208. mapping an appletalk net number to an IP net number.
  209.  
  210. Now for administrative simplicity we have chosen to have three ranges
  211. of anet numbers.  Anet numbers 55.XX will be used to represent
  212. appletalk-in-IP ether cables, where XX is set equal to the third byte
  213. of the IP address of that ether cable (i.e. the subnet number for class
  214. B nets or simply the 3rd byte of a class C number).  And anet numbers
  215. 56.YY will be used to represent localtalk cables, where we just assign
  216. a new number YY starting at 1 for each new cable.  Finally, anet
  217. numbers 57.ZZ are used to represent ethertalk cables.  For your own
  218. situation you can use whatever scheme you wish: you could use other
  219. values than 55/56/57, or you could even decide to number all the cables
  220. in the same range.  It's not important.
  221.  
  222. With this background you should now be able to understand the sample
  223. file.  The first three lines describe appletalk-in-IP ether cables.
  224. Note the 'N1' flag which means that this is an IP net number, and to
  225. form the broadcast address we add a single '.255' to the given IP
  226. address.  Note that your main campus IP gateways must support directed
  227. broadcasts in one of these formats.
  228.  
  229. If your net doesn't have directed broadcast capability: (1) convince
  230. your gateway vendor to put it in; (2) in the meantime you can use the
  231. 'H' flag in atalkatab.  The kboxes can act as 'rebroadcast' servers;
  232. we also provide a program atalkrd.c (rebroadcast daemon) that can run
  233. on a 4.X BSD UNIX machine.  The file 'doc/broadcast' explains
  234. this in more detail.
  235.  
  236. After the first group of three lines in the sample atalkatab, there
  237. follows three groups of about eight lines each.  Each of these groups
  238. describes an appletalk-in-IP ether cable containing a kbox, the
  239. localtalk cable / kbox, and then the configuration data for that kbox.
  240. Probably the best way to proceed would be to use one of these groups of
  241. seven as a template for your site.  And then for each additional kbox
  242. at your site, dup your own template and further customize it.  Of
  243. course you will want to delete or change all of the sample data we
  244. provide to correspond to your site only.  Dont leave any of the
  245. provided sample entries in your actual database.
  246.  
  247. In the following paragraph we describe the fields used in the current
  248. configuration information.  The atalkad daemon is rather stupid when it
  249. comes to interpreting this data.  It just treats the data as a byte
  250. stream that is shipped to the gateway;  it has no knowledge of the
  251. format or legal values possible in these fields.  So you have to be a
  252. little careful.  That is why it is a good idea to dup an existing
  253. template as a model in editing in your own data.  Note that each field
  254. is preceded by a data type indicator;  it is very important to preserve
  255. this type selection byte.  It also may be a little confusing, since the
  256. 'network description' line that preceeds the configuration information
  257. does NOT use these prefix bytes.
  258.  
  259. FIELDNAME    DESCRIPTION
  260. ipbroad        is the IP address used on the ethernet cable to do a
  261.         broadcast on that ether cable.  Use the network number
  262.         qualified form (NOT 255.255.255.255).
  263. ipname        address of a name server, passed to MacIP programs.
  264. ipdebug        address of the host allowed to run ddt.
  265. ipfile        address of a file server, passed to MacIP programs.
  266. ipother        four other IP addresses or long integers passed to
  267.         MacIP programs.
  268. atnetet        appletalk net number, ethertalk port;  this field may be
  269.         zero if you are not using ethertalk.  Otherwise it should
  270.         match the 'E' line that points to this kbox.
  271. ddprangestart    is a short specifing the start of the UDP port range used to
  272.         map well known udp ports to ddp "static assigned sockets"
  273. flags        a long word of bit flags; see doc/rev0987
  274. ipstatic    the number of statically assigned MacIP addresses;
  275.         read the 'doc/ip.at' document.
  276. ipdynamic    the number of dynamically assigned MacIP addresses;
  277.         the gateway uses a 'range' of IP addresses on the ether
  278.         side;  the number of addresses is 1+ipstatic+ipdynamic.
  279. atneta        appletalk net number, localtalk port;  note that
  280.         this should be the same number as was specified on the
  281.         'K' line describing this kbox.
  282. atnete        appletalk net number, appletalk-in-IP ether port; should
  283.         match the number of the closest previous 'N' or 'H' line.
  284.  
  285. In three of the fields, you are asked to specify the appletalk network
  286. numbers for the three different 'ports' (appletalk-forms) on the kbox:
  287. localtalk, appletalk-in-IP, and ethertalk.  The localtalk and
  288. appletalk-in-IP network numbers are mandatory while the ethertalk
  289. network number is optional.  To simplify configuration, you can specify
  290. "%n" in these fields.  The atalkad daemon will then try to fill in each
  291. field with the correct appletalk network number.  "%n" does this by
  292. following these rules:
  293.  
  294.   If %n is in the atnete field (e.g. refers to a appletalk-in-IP
  295.   cable), then %n refers to the most recently seen "H" or "N"
  296.   flagged entry that has the same network number (masked against
  297.   255.255.255.0) as the Kinetics box in question
  298.  
  299.   If %n is in the atneta field (e.g. refers to a localtalk network)
  300.   then %n refers to the anet number of the current 'K' line.
  301.  
  302.   If %n is in the atnetet field (e.g. refers to a ethertalk network)
  303.   then %n refers to the most recently seen "E" flagged entry that
  304.   has the same ip address as the kinetics box in question.
  305.  
  306. You can check your atalkatab by running atalkad in check mode by using
  307. the "-c" flag.  "-c" with no arguments will read in the default
  308. atalkatab and then dump it in format more oriented to human perusal.
  309. This is useful for seeing if your "%n" entries match up to what you
  310. expected them to.  "-c" also takes a file name as an argument that
  311. overrides the default atalkatab.
  312.  
  313. Once /etc/atalkatab is complete, you should start the daemon,
  314. /etc/atalkad.  You should be su for this.  Check the log file
  315. /usr/adm/atalkalog to see if any errors were detected in parsing the
  316. database.  Edit your /etc/rc.local to add a line to start atalkad
  317. whenever your administrator host boots.
  318.  
  319. DDP START RANGE
  320.  
  321. In April, 1988, the NIC assigned a range of ports for using by KIP for
  322. "static" or "well known" assigments.  In particular, it assigned:
  323.   201 - AT-RMTP  -  AppleTalk Routing Maintenance
  324.   202 - AT-NBP   -  AppleTalk Name Binding
  325.   203 - AT-3     -  AppleTalk Unused
  326.   204 - AT-ECHO  -  AppleTalk Echo
  327.   205 - AT-5     -  AppleTalk Unused
  328.   206 - AT-ZIS   -  AppleTalk Zone Information
  329.   207 - AT-7     -  AppleTalk Unused
  330.   208 - AT-8     -  AppleTalk Unused
  331. for this purpose.
  332.  
  333. KIP had been using the range starting at 768.
  334.  
  335. The start range can now be specified in the ddprangestart
  336. configuration field.  It is recommended that you use the new start
  337. range value of 200 if you can.  A value of zero implies the old range
  338. starting at 768.  CAP 5.0 allows the use of the new port range by
  339. installing the names in /etc/services for use by getservent.  If you
  340. do one of these, then you must do the other.
  341.  
  342. Following are the entries for /etc/services
  343.     at-rtmp        201/udp                # udp: rtmp
  344.     at-nbp        202/udp                # udp: nbp
  345.     at-echo        204/udp                # udp: echo
  346.     at-zip        206/udp                # udp: zip
  347.  
  348. WARNING: future versions of KIP and CAP will default to the new
  349. mappings starting at 200.  The old mappings are being used now until
  350. KIP and CAP get back into synchronization on this issue.
  351.  
  352.  
  353. ETHERTALK CONSIDERATIONS
  354.  
  355. If you are using ethertalk, you will want to use the second group of
  356. eight lines in the sample atalkatab as your template.  Note that the
  357. 'E' line points to the kbox that will be performing the ethertalk
  358. gateway function.  
  359.  
  360. If you have more than one kbox on a given ether cable, only ONE of them
  361. should have such an 'E' line.  This is because there will be only ONE
  362. appletalk net number associated with that ethertalk cable and it must
  363. point to ONE kbox.  (The kbox routing tables are such that one anet
  364. number can only point to a single gateway).
  365.  
  366.   [If you have other kboxes on the same ether cable, you CAN set the
  367.   'atnetet' field of those boxes to the anet number of the ethertalk.
  368.   You would have to do this manually since the %n mechanism will not
  369.   work.  However note the following:  Due to the way ethertalk hosts
  370.   select a gateway (by listening to the last broadcast RTMP), the
  371.   ethertalk host will be randomly selecting among the multiple
  372.   kboxes.  This situation is inherent in the appletalk protocol
  373.   specifications.]
  374.  
  375.  
  376. EDIT /ETC/ATALK.LOCAL
  377.  
  378. EACH UNIX host that wishes to use CAP utilities and libraries must have
  379. an /etc/atalk.local file.  (Atalkad doesnt need CAP).  Now that your
  380. departmental appletalk administrator has chosen appletalk net numbers
  381. for your local cables, you need to edit this information into
  382. /etc/atalk.local.  This file looks like:
  383.  
  384.     # mynet mynode myzone 
  385.     55.9 5 YourZoneName
  386.     # bridgenet bridgenode bridgeIP
  387.     55.9 240 128.222.9.240
  388.  
  389. Just type in the appletalk net number for the UNIX's ether cable as
  390. the first number.  The second number will be the low byte of the
  391. host's IP address.  The third field is the local zone name.  On the
  392. second (noncomment) line we give the address for the 'closest' kbox.
  393. The first and second numbers are the ANETE network number and node
  394. numbers (note that the anete node number is always the last byte of
  395. the ip address).  The third number is the IP address of the kbox.
  396. (This can be a IP host name as well but since 4.2 BSD name lookup is
  397. very slow, we recommend putting just the number here).  Note, it is
  398. important to use the ANETE network number when specifying the location
  399. of the Kinetics box since the anetet and aneta node numbers are not
  400. knowable in advance.  The kbox is usually on the same ether cable as
  401. your CAP host, but it does not have to be.  The CAP host can be on any
  402. ether cable, as long as there is an 'N' (or 'H' with atalkrd) line in
  403. atalkatab pointing to that cable (or host).
  404.  
  405.  
  406. SETUP GW.SREC AND PROMPT.CONFIG ON MAC DISK
  407.  
  408. Each kbox must be downloaded with its program and minimal configuration
  409. information.  These files plus the downloader must all exist on a Mac
  410. disk.  The downloader program from Kinetics was previously called
  411. 'Prompt'.  On their latest shipments, they have renamed it 'FastPath
  412. Manager'.  In either case the current version number is 2.0.
  413.  
  414. It also helps to have a copy of 'edit' or 'MockWrite' on the disk to
  415. customize the prompt.config file.  So you need to use macput, efs,
  416. kermit, etc., to put the files gw.srec and prompt.config onto this
  417. disk.  Here is what the sample prompt.config file looks like in this
  418. directory:
  419.  
  420.     * Config file for KFPS, KIP version, 10/86.
  421.     *
  422.     * A future version of the 'prompt' program will recognize
  423.     * a line containing a 'dot format' address and convert those
  424.     * four decimal byte values to four hex bytes(!)
  425.     *
  426.     * These bytes are ignored but must be left as placeholders: 
  427.     0000 0000 FF FF FF 00 000000 000000
  428.     * Gateway name (in this example, "gw")
  429.     677700000000000000000000000000000000000000
  430.     * File name (in this example, "gw.srec"): 
  431.     67772E737265630000000000000000000000000000
  432.     * reserved (this field should be 00FF): 
  433.     00FF
  434.     *
  435.     * Start of 'mandatory' parameters, the minimum information that
  436.     * must be supplied for the gateway to begin operation.
  437.     *
  438.     * IP address of myself, 'ipaddr'
  439.     * 128.222.9.240
  440.     80de09f0
  441.     * IP addr of admin host
  442.     * 128.222.9.5
  443.     80de0905
  444.     * IP addr of default route (nearest 'real' gateway)
  445.     * 128.222.9.16
  446.     80de0910
  447.     * ethernet hardware addr of KFPS;
  448.     * 080089 is the Kinetics manufacturer code,
  449.     * remaining bytes are the serial number of your box.
  450.     080089 F00777
  451.     * next value is a flag, if it is '1234' the remainder 
  452.     * of this file is considered valid;  any other value means
  453.     * that the remaining parameters will be obtained from atalkad.
  454.     0000
  455.  
  456. What we do here at Stanford is make a XXX.config file version for each
  457. kbox, where XXX is replaced by the kbox name or address.  Since all
  458. the 'prompt' parameters are supplied in this file, no typeins have to
  459. be done into the prompt dialog boxes.  This simplifies the downloading
  460. procedure for operations staff.
  461.  
  462. Here then is the procedure for downloading;  note that all of the
  463. operations involving 'prompt' should allow no more than 30 seconds of
  464. 'idle' time for the gateway.  Otherwise the gateway will just enter its
  465. automatic power up reboot sequence;  not what you want.  The 
  466. instructions below are for prompt version 2.0;  Kinetics may make
  467. some revisions/simplifications so these instructions may change
  468. slightly.
  469.  
  470. (1) ensure the ethernet and appletalk cables are plugged in to the
  471. kbox.  (2) power cycle the kbox.  It is possible to avoid power
  472. cycling the kbox if you have version 3.0 or later of the EPROMs
  473. installed: use the Options menu item "Show EPROM Info" in version 2.0
  474. or later of Prompt to ascertain this.  Prior PROMs have a bug that
  475. makes this unreliable and in these cases it is best to cycle the
  476. power.  (3) run 'prompt' on the Mac and select menu Gateways/Find
  477. Gateways.  (4) press the RESET button.  This will clear out any old
  478. programs; answer 'yes' to any 'are you sure' questions.
  479.  
  480. (5) now do another Find Gateways.  Also pull down menu Options/Show
  481. Diagnostics.  This will enable any diagnostic messages from the gateway
  482. during loading to be visible.  (6) using the menu, pull down File/Open
  483. Config File.  Specify your XXX.config file.  Don't be concerned that
  484. the dialog boxes showing 'appletalk zone name' and 'appletalk net
  485. number' look erroneous.  This is because the 'prompt' program doesnt
  486. know the exact format of the XXX.config data used by KIP and
  487. misinterprets some of it.  It is OK, only the dialog display is
  488. incorrect, the download operation will proceed as normal.  DO NOT
  489. attempt to edit any of the dialog data by hand;  it is only editable
  490. via the XXX.config file.  (7) press the SEND CONFIG button;  there will
  491. also be an acknowlegment message.
  492.  
  493. (8) press the SEND LOAD button, this will start the download and a
  494. 'thermometer' will show the progress.  (9) press GO, this will start
  495. the new code.  You should see a diagnostic message at this time
  496. indicating that the gateway has correctly started up.  It also shows
  497. the number of free buffers in the KFPS memory.
  498.  
  499. If you are using version 2.0 or later of Prompt, you can use the
  500. "Options" menu item "Show Diagnostics" to watch for the initial "boot
  501. message" from KIP.  Otherwise, if you have a 'peek' running on the
  502. appletalk (enable reception of RTMPs) you should see some gateway
  503. broadcasts startup in a moment.  Also, if you look in atalkalog, you
  504. will see messages indicating that config and routing info has been
  505. sent to the new gateway.
  506.  
  507.  
  508. TEST GATEWAY WITH PING, DDT, CHOOSER.
  509.  
  510. From UNIX you should be able get a response by sending an ICMP echo
  511. packet to the gateway.  Use the 4.X BSD command 'ping IP_address'.  If
  512. you have the ddt running you should be able to say 'ddt gw.sym
  513. IP_address', then 'main/'.  Successive '/'s will open up following
  514. locations.  On a Mac, run chooser and/or print some files on your
  515. LaserWriter to verify that the name binding protocol is working ok.
  516. Follow the same procedure for subsequent gateways.  Chooser should now
  517. show the union of all your printers or other resources.
  518.  
  519.  
  520. ATALKAD GLOBAL OPERATIONS
  521.  
  522. The admin daemon will reread its /etc/atalkatab file whenever the
  523. write date changes.  But note that the file should rewritten in place
  524. --some editors relink the old file to filename.BAK, etc.  (Note: this
  525. restriction was removed as of KIP revision 0188).  The gateways only
  526. ask for config and routing info when they boot, so if you have changed
  527. this info, you must tell the daemon to force it out to all gateways in
  528. your domain.  This is done by sending the running atalkad a special
  529. signal.  Typing the command '/etc/atalkad route' will send new routing
  530. tables to all the gateways.  Typing '/etc/atalkad boot' will cause all
  531. gateways to reload their config info AND routing tables.  Note that a
  532. backround atalkad must be running; these commands just send a signal
  533. to that running daemon.
  534.  
  535. So the rule might be, whenever you add or change the routing
  536. information in atalkatab (the lines that start in column 1), you should
  537. do an atalkad route.  If you only change the kbox config info and are
  538. going to manually reboot that box, there is no need to tell everybody
  539. about it.  However if you want to change the kbox config without
  540. leaving your chair, you'll have to reboot everybody with a atalkad
  541. boot.  I suppose we should add a 'atalkad boot net#', to reconfigure a
  542. specific box, but we havent yet.
  543.  
  544.  
  545. INSTALL CAP OR KHOST
  546.  
  547. See the installation document provided.  CAP requires atalk.local!
  548.  
  549. The biggest problem usually face is that the atalkatab specifications
  550. do not provide the proper routing.  IP services seem to work, but CAP
  551. does not.  Generally, watch out to make sure if you specify N1, N2, N3
  552. routing lines that the resulting broadcast addresses are valid (see
  553. broadcast for more information).
  554.  
  555. MAC IP PROGRAMS
  556.  
  557. Several programs are available for IP communication on the Mac.  The
  558. programs usually include services for 'telnet' (terminal connection
  559. and emulation) and 'ftp' (file transfer protocol).  IP packages that
  560. we know of include:
  561.  
  562.    Stanford University SU-MacIP
  563.    NCSA (Nat. Center for Supercomputing Appl. at U of Ill.) Telnet/FTP
  564.    TOPS Telnet/FTP
  565.    Phil Karn (KA9Q) TCP/IP package
  566.  
  567. Some of these programs are assigned their IP addresses automatically by
  568. the gateway, so no configuration or customization files are necessary
  569. on your Mac disk.
  570.  
  571. * SU-MacIP
  572.  
  573.     The Stanford MacIP is currently only being distributed on a
  574.     (low cost, $50) license arrangement.  For more information from
  575.     the Stanford ACIS/Networking department you can email to:
  576.  
  577.         macip@ahwahnee.stanford.edu 
  578.  
  579.     or send U. S. Mail to:  
  580.  
  581.         SU-MacIP
  582.         Stanford Univ.
  583.         Information Resources, Networking
  584.         Pine Hall
  585.         Stanford, CA  94305
  586.  
  587. * NCSA Telnet
  588.  
  589.     For more information on the National Center for Supercomputing
  590.     Applications (NCSA) Telnet program, please see the NCSA files
  591.     in the <INFO-MAC> directory on SUMEX-AIM.STANFORD.EDU.  They
  592.     are under the name NCSA-*.*.
  593.  
  594.     The complete set of NCSA Telnet files for the Macintosh (and
  595.     PC) is available via anonymous FTP from ftp.ncsa.uiuc.edu
  596.     (128.174.20.50).  On the NCSA host, the Mac files are in the
  597.     subdirectory NCSA_Telnet/Mac.
  598.